package com.rambler.api.crawler.response;

import lombok.Data;

@Data
public class WeatherResponse {
    private CurrentWeather current;

    @Data
    public static class CurrentWeather {
        private double temp_c;
        private Condition condition;

        public double getTempC() { return temp_c; }
    }

    @Data
    public static class Condition {
        private String text;
        private String icon;
    }
}
